﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reporting.Domain.RBAC
{
    /// <summary>
    /// 用户实体类
    /// </summary>
    public class User 
    {
        /// <summary>
        /// 用户实体类
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 状态  
        /// 0 禁用 1 启用
        /// </summary>
        public bool IsDel { get; set; }
        /// <summary>
        /// 角色ID  数组类型
        /// </summary>
        public string RoleIdtostring { get; set; }
    }
}
